

<!-- Trqbva da ima razli4ni prefiksi v stojnostite na atributite <name> za razli4nite instancii na klasa vsDateEdit -->
<select name="vsdeDay{$objCount}" id="vsdeDay{$objCount}" onchange="dateChanged({$objCount});">
{section name=day start=1 loop=`$vsdeDays+1` step=1}
	{assign var=count value=$smarty.section.day.index}
	<option value="{$count}" {if $vsdeDay==$count}selected="selected"{/if}>{$smarty.section.day.index}</option>
{/section}
</select>

<select name="vsdeMonth{$objCount}" id="vsdeMonth{$objCount}" onchange="dateChanged({$objCount});">
	<option value="01" {if $vsdeMonth==1}selected="selected"{/if}>Януари</option>
	<option value="02" {if $vsdeMonth==2}selected="selected"{/if}>Февруари</option>
	<option value="03" {if $vsdeMonth==3}selected="selected"{/if}>Март</option>
	<option value="04" {if $vsdeMonth==4}selected="selected"{/if}>Април</option>
	<option value="05" {if $vsdeMonth==5}selected="selected"{/if}>Май</option>
	<option value="06" {if $vsdeMonth==6}selected="selected"{/if}>Юни</option>
	<option value="07" {if $vsdeMonth==7}selected="selected"{/if}>Юли</option>
	<option value="08" {if $vsdeMonth==8}selected="selected"{/if}>Август</option>
	<option value="09" {if $vsdeMonth==9}selected="selected"{/if}>Септември</option>
	<option value="10" {if $vsdeMonth==10}selected="selected"{/if}>Октомври</option>
	<option value="11" {if $vsdeMonth==11}selected="selected"{/if}>Ноември</option>
	<option value="12" {if $vsdeMonth==12}selected="selected"{/if}>Декември</option>
</select>

<select name="vsdeYear{$objCount}" id="vsdeYear{$objCount}" onchange="dateChanged({$objCount});">
	<option value="2001" {if $vsdeYear==2001}selected="selected"{/if}>2001</option>
	<option value="2002" {if $vsdeYear==2002}selected="selected"{/if}>2002</option>
	<option value="2003" {if $vsdeYear==2003}selected="selected"{/if}>2003</option>
	<option value="2004" {if $vsdeYear==2004}selected="selected"{/if}>2004</option>
	<option value="2005" {if $vsdeYear==2005}selected="selected"{/if}>2005</option>
	<option value="2006" {if $vsdeYear==2006}selected="selected"{/if}>2006</option>
	<option value="2007" {if $vsdeYear==2007}selected="selected"{/if}>2007</option>
	<option value="2008" {if $vsdeYear==2008}selected="selected"{/if}>2008</option>
	<option value="2009" {if $vsdeYear==2009}selected="selected"{/if}>2009</option>
	<option value="2010" {if $vsdeYear==2010}selected="selected"{/if}>2010</option>
	<option value="2011" {if $vsdeYear==2011}selected="selected"{/if}>2011</option>
	<option value="2012" {if $vsdeYear==2012}selected="selected"{/if}>2012</option>
	<option value="2013" {if $vsdeYear==2013}selected="selected"{/if}>2013</option>
	<option value="2014" {if $vsdeYear==2014}selected="selected"{/if}>2014</option>
	<option value="2015" {if $vsdeYear==2015}selected="selected"{/if}>2015</option>
	<option value="2016" {if $vsdeYear==2016}selected="selected"{/if}>2016</option>
	<option value="2017" {if $vsdeYear==2017}selected="selected"{/if}>2017</option>
	<option value="2018" {if $vsdeYear==2018}selected="selected"{/if}>2018</option>
	<option value="2019" {if $vsdeYear==2019}selected="selected"{/if}>2019</option>
	<option value="2020" {if $vsdeYear==2020}selected="selected"{/if}>2020</option>
</select>

